﻿using Autofac;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TpWeb.Dal;
using TpWeb.Dal.Context;
using TpWeb.Domain.Repositories;


namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            IContainer container;
            ContainerBuilder b = new ContainerBuilder();
            b.RegisterModule(new DalModule());
            container = b.Build();

            try
            {

            }
            catch
            {

            }
            finally
            {
                throw new Exception("Hello");
            }
            Console.ReadKey();
        }
    }
}
